package com.ch.dream.activity.longstory;

import android.os.Bundle;
import android.util.Log;

import com.ch.dream.R;
import com.ch.dream.base.BaseActivity;
import com.ch.dream.logic.longstory.StoryRecommendLogic;

public class StoryRecommendActivity extends BaseActivity {

	private StoryRecommendLogic logic;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		try{
			logic = new StoryRecommendLogic(this);
			logic.setViews(R.layout.l_storyrecommend);
			setTitle("返回", "推荐故事","false");
			logic.init();
		}catch (Exception e) {
			e.printStackTrace();
			Log.e("activity",e.toString());
		}
	}
	
	@Override
	protected void handlerTitleBarEvent(int mode) {
		if(mode ==LEFT_BUTTON){
			finish();
		}
	}
}
